package com.mxin.common

import android.app.Application
import com.mxin.common.log.LogA
import com.mxin.common.log.LogInterface

/**
 *  1. 初始化debug状态
 *
 *
 */
object GlobalApp {

    //需要初始化debug状态
    var debug = false

    lateinit var app: Application

    internal fun init(app:Application){
        this.app = app
    }

    fun initLog(log:LogInterface){
        LogA.log = log
    }
}